import {Button, Popconfirm, Space, Upload} from "antd";
import {UploadOutlined} from "@ant-design/icons";


const props={

}

function CcSpace(){

    return (
        <div>
            <Space>

                <Upload name="file" action="http://localhost:8123/api/file/upload"
                    onChange={(info)=>{
                        console.log(info,"info")
                    }}
                >
                    <Button icon={<UploadOutlined/>}>button</Button>
                </Upload>


                <Popconfirm title="are you sure delete this task" okText="yes" cancelText="no">
                    <Button>confirm</Button>
                </Popconfirm>

            </Space>
        </div>
    )
}

export default CcSpace
